package com.ruoyi.boat.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 障碍物对象 t_block
 * 
 * @author ruoyi
 * @date 2024-07-15
 */
public class TBlock extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 经度 */
    @Excel(name = "经度")
    private Long lat;

    /** 纬度 */
    @Excel(name = "纬度")
    private Long lng;

    /** 类型 */
    @Excel(name = "类型")
    private Integer types;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setLat(Long lat) 
    {
        this.lat = lat;
    }

    public Long getLat() 
    {
        return lat;
    }
    public void setLng(Long lng) 
    {
        this.lng = lng;
    }

    public Long getLng() 
    {
        return lng;
    }
    public void setTypes(Integer types) 
    {
        this.types = types;
    }

    public Integer getTypes() 
    {
        return types;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("lat", getLat())
            .append("lng", getLng())
            .append("types", getTypes())
            .toString();
    }
}
